import React, { PureComponent, memo } from 'react'
import PropTypes from 'prop-types'
import Logo from '../Logo'
import Avatar from '../Avatar'
import './index.scss'
const Header = memo(function Header(props) {
    return (
        <div className="header flex middle">
            <a href="/index" className="logo">
                <Logo />
            </a>
            <a href="/search" className="cell-main mr20 ml10 right">
                <i className="icon-search max"></i>
            </a>
            <a href="/space" className="avatar">
                <Avatar />
            </a>
        </div>
    )
})
export default Header
